package com.example.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Bill {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String billcode;

    private String productname;

    private String productdesc;

    private String productunit;

    private double productcount;

    private double totalprice;

    private int ispayment;

    private Long providerid;

    @TableField(fill = FieldFill.INSERT)
    private Long createdby;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long modifyby;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime creationdate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifydate;
}
